using System;
using common;
namespace time
{
    public class record
    {
        public static void record_jason(femail f)
        {
            string s = JsonSerializeHelper.JsonSerializer(f);
            Console.WriteLine(s);
        }

        public static void record_jason(femail f, string file)
        {
            string s = JsonSerializeHelper.JsonSerializer(f);
            FileHelper.write_file(file, s);
        }
    }
}